package com.integral.xr.module.platform.controller.admin;

import com.integral.xr.framework.common.pojo.CommonResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import static com.integral.xr.framework.common.pojo.CommonResult.success;

    @Tag(name = "管理后台 - Test")
    @RestController
    @RequestMapping("/demo/test")
    @Validated
    public class PlatformTestController {

        @GetMapping("/get")
        @Operation(summary = "获取 test 信息")
        public CommonResult<String> get() {
            return success("true");
        }

    }

